package com.yusi.controller.test;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("flight")
public class Hello {

    @GetMapping("/hello")
    public String geyHello(){
        return "hello";
    }

    @GetMapping("/info")
    public String geyInfo(){
        return "info";
    }


}
